export const usageTable = [
  { value: 'id', label: 'ID' },
  { value: 'community.name', label: '小区名称' },
  { value: 'parking_space', label: '车位名称' },
  { value: 'license_plate', label: '车辆牌照' },
  { value: 'owner', label: '车主姓名' },
  { value: 'tel', label: '联系方式' },
  { value: 'type', label: '使用性质 ' },
  { value: 'cost', label: '总费用' },
  { value: 'begin_time', label: '开始时间 ' },
  { value: 'end_time', label: '截止时间' },
  { value: 'remark', label: '备注' },
  { value: 'create_time', label: '创建时间' },
]
// 获取信息状态
export const useUsageState = (needAll = false) => {
  let stateList = [
    { label: '售', value: 1 },
    { label: '租', value: 0 },
  ]
  if (needAll) stateList.unshift({ label: '未知', value: '' })
  return stateList
}